<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored='false' %> 

<div class="navigation">
<c:if test="${prev_message != null}">
<a href='<%= request.getParameter("action") %>message.html?messageId=<c:out value="${prev_message.messageId}"/>'>
  [previous]
</a>
</c:if>
<c:if test="${prev_message == null}">
  [previous]
</c:if> 
&nbsp;
<a href='<%= request.getParameter("action") %>conversation.html?conversationId=<c:out value="${message.conversation.conversationId}"/>'>[back to conversation]</a>
&nbsp;
<c:if test="${next_message != null}">
  <a href='<%= request.getParameter("action") %>message.html?messageId=<c:out value="${next_message.messageId}"/>'>
    [next]
  </a>
</c:if>
<c:if test="${next_message == null}">
  [next]
</c:if>
 
</div>
